package org.example.test.service;

import org.example.test.dal.entity.Cart;
import org.example.test.dal.entity.CartItem;
import org.example.test.request.CartItemRequest;

import java.util.List;

public interface CartService {

    Cart getCart(Long userId);
    void addItemToCart(Long userName, CartItemRequest cartItemRequest);
    void removeItemsFromCart(Long userId, List<Long> productIds);
    List<CartItem> getCartItems(Long userId);
    void clearCartItems(Long userId, List<Long> productIds);

}
